<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'plate-form',
	'enableAjaxValidation'=>false,
)); ?>

<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<select name='platekind'>
			<option value="frukost">Frukost</option>
			<option value="lunch">Lunch</option>
			<option value="mellanmal">Mellanmål</option>
			<option value="middag">Middag</option>
		</select>
	</div>

	<div class="row">
	<?php echo $form->labelEx($model,'date'); ?>
	<?php echo $form->textField($model,'date'); ?>
	</div>

	<div class="row buttons">
	<?php echo CHtml::submitButton($model->isNewRecord ? 'Skapa' : 'Spara'); ?>
	</div>

	<?php $this->endWidget(); ?>

</div>
<!-- form -->
